package hu.jonas.time.client;

import hu.jonas.time.client.model.Project;

import java.util.Date;
import java.util.List;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

@RemoteServiceRelativePath("project")
public interface ProjectService extends RemoteService {

	public long createProject(String name, Date dueDate);
	
	public Project getProjectByName(String name);
	
	public List<Project> getProjects();
}
